#ifndef _CSBULLET_H_
#define _CSBULLET_H_

#include "M0Bullet.h"
#include "M15DownBullet.h"
#include "M15UpBullet.h"
#include "M30DownBullet.h"
#include "M30UpBullet.h"
#include "Bullet.h"
#include "Convert.h"
#include "Input.h"


class CSBullet : public CBullet
{
public:
	CSBullet();
	~CSBullet();

	void SetStartCoordinate(float x, float y);

	//============================================
	// Override CBullet and CGameObject
	void Render();
	void Update(DWORD deltaTime);
	void LoadSprites();
	void UpdateKeyBoard(CInput* inputDevice);
	//============================================

	void Update0Right(DWORD deltaTime);
	void Update0Left(DWORD deltaTime);
	void Update45RightUp(DWORD deltaTime);
	void Update45RightDown(DWORD deltaTime);
	void Update45LeftUp(DWORD deltaTime);
	void Update45LeftDown(DWORD deltaTime);
	void Update90Up(DWORD deltaTime);
	void Update90Down(DWORD deltaTime);

private:
	ShootStatus sBulletShootStaus_;


	CM0Bullet* m0Bullet_;
	CM15DownBullet* m15DownBullet_;
	CM15UpBullet* m15UpBullet_;
	CM30DownBullet* m30DownBullet_;
	CM30UpBullet* m30UpBullet_;

};

#endif